Public Class YieldData
Inherits Component

Private m_YieldType As String

<FieldInfo(GetType(YieldTypeFieldInfo), 0)> _
Public Property YieldType() As String
Get
Return m_YieldType
End Get
Set (value As String)
m_YieldType = value
End Set
End Property

Private m_Yield As Decimal

<FieldInfo(GetType(YieldFieldInfo), 1)> _
Public Property Yield() As Decimal
Get
Return m_Yield
End Get
Set (value As Decimal)
m_Yield = value
End Set
End Property

Private m_YieldCalcDate As DateTime

<FieldInfo(GetType(YieldCalcDateFieldInfo), 2)> _
Public Property YieldCalcDate() As DateTime
Get
Return m_YieldCalcDate
End Get
Set (value As DateTime)
m_YieldCalcDate = value
End Set
End Property

Private m_YieldRedemptionDate As DateTime

<FieldInfo(GetType(YieldRedemptionDateFieldInfo), 3)> _
Public Property YieldRedemptionDate() As DateTime
Get
Return m_YieldRedemptionDate
End Get
Set (value As DateTime)
m_YieldRedemptionDate = value
End Set
End Property

Private m_YieldRedemptionPrice As Decimal

<FieldInfo(GetType(YieldRedemptionPriceFieldInfo), 4)> _
Public Property YieldRedemptionPrice() As Decimal
Get
Return m_YieldRedemptionPrice
End Get
Set (value As Decimal)
m_YieldRedemptionPrice = value
End Set
End Property

Private m_YieldRedemptionPriceType As Int32

<FieldInfo(GetType(YieldRedemptionPriceTypeFieldInfo), 5)> _
Public Property YieldRedemptionPriceType() As Int32
Get
Return m_YieldRedemptionPriceType
End Get
Set (value As Int32)
m_YieldRedemptionPriceType = value
End Set
End Property


End Class
